package cc.laop.netty.entity;

import java.io.Serializable;

public abstract class BaseMsg implements Serializable {

	private static final long serialVersionUID = 1L;

	private MsgType msgType;

	private String channelid;

	public BaseMsg() {
		setMsgType();
	}

	public MsgType getMsgType() {
		return msgType;
	}

	public void setMsgType(MsgType msgType) {
		this.msgType = msgType;
	}

	public String getChannelid() {
		return channelid;
	}

	public void setChannelid(String channelid) {
		this.channelid = channelid;
	}

	public abstract void setMsgType();

}
